#ifndef _HCC_ERROR_CODE_MID_CAN_RDC_H_
#define _HCC_ERROR_CODE_MID_CAN_RDC_H_

#include "ofc/ofc_types.h"
#include "hcc/hcc_error_code.h"
#include "hcc/hcc_error_code_mid.h"

#ifdef __cplusplus
extern "C" {
#endif

#define HCC_MAKE_MID_CAN_RDC_ERROR(error_code) (int)HCC_ERROR(HCC_MAKE_MID_WARE_ERROR(kHccMidWareCanRdc, error_code, HCC_ERROR_LEVEL_ERROR))


/**
 * CanRdc模块定义:
 */
typedef Int32 THccMidCanRdcErrorCode;

#define kHccMidCanRdcSuccess	HCC_ERROR_SUCCESS	///< 成功,没有错误
#define kHccMidCanRdcParamInvalid	HCC_MAKE_MID_CAN_RDC_ERROR(1)	///<参数错误
#define kHccMidCanRdcCommonFailed	HCC_MAKE_MID_CAN_RDC_ERROR(2)	///<执行失败
#define kHccMidCanRdcNoSpaceAlive	HCC_MAKE_MID_CAN_RDC_ERROR(3)	///<空间不足，无法分配对象
#define kHccMidCanRdcObjNotCreate	HCC_MAKE_MID_CAN_RDC_ERROR(4)	///<对象未初始化
#define kHccMidCanRdcAddrNotAlive	HCC_MAKE_MID_CAN_RDC_ERROR(5)	///<指针为空

#ifdef __cplusplus
}  // extern "C"
#endif

#endif // _HCC_ERROR_CODE_MID_CAN_RDC_H_
/**
 * @
 */
